package com.peace.hospital.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.peace.hospital.entity.hospitalization.entity.People;
import com.peace.hospital.entity.hospitalization.entity.dto.InpatientmessageDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xie
 * @since 2019-11-05
 */
public interface IPeopleService extends IService<People> {

    /**
     * 住院病人管理
     */
    /**
     * 添加病人信息
     */
    boolean insertPeople(InpatientmessageDto dto);

    /**
     * 添加住院病人
     */

    boolean insertInnerPeople(InpatientmessageDto dto);

    /**
     * 1、验证用户是否存在该病人
     * 2、查询病人信息
     */
    People selectPeopleByPeople(InpatientmessageDto dto);




}
